home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
CRS
/
crs32.d81
/
examples.arc
/
EXEC.A
< prev
next >
Wrap
Text File
|
1989-12-01
|
761b
|
24 lines
;exec.asm
;=========================
; Command: exec filename
;=========================
int04 = $1704
int0e = $170e
int20 = $1720
star = $0b00
.wor star
* = star
jmp exec
dw Date
exec ldx #1 ; Make sure %1 is there
jsr int04
bcs exec0 ; Its not. Just quit
jsr int20 ; Otherwise execute it
exec0 jmp int0e
.end